<style>
    :root {
        --primary: #165DFF;
        --primary-light: #E8F3FF;
        --secondary: #36CFC9;
        --dark: #1D2129;
        --gray: #86909C;
        --light: #F2F3F5;
        --border: #E5E6EB;
        --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    body {
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        background-color: #F7F8FA;
        color: var(--dark);
        line-height: 1.6;
    }

    .container {
        max-width: 1200px;
    }


    /* 主内容区 */
    .main-content {
        padding: 3rem 0;
    }

    /* 页面标题 */
    .page-header {
        text-align: center;
        margin-bottom: 3rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .page-header .page-title {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        color: var(--dark);
    }

    .page-header .page-desc {
        color: var(--gray);
        max-width: 700px;
        margin: 0 auto;
    }

    /* 链接分类 */
    .links-section {
        margin-bottom: 4rem;
    }

    .links-section .section-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid var(--primary-light);
        display: flex;
        align-items: center;
    }

    .links-section .section-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background-color: var(--primary-light);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }

    .links-section .section-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0;
    }

    /* 图文友情链接 */
    .图文友情链接 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 1.5rem;
    }

    .图文链接卡片 {
        background-color: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
        display: flex;
        height: 100%;
    }

    .图文链接卡片:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
    }

    .图文链接卡片 .链接图片 {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }

    .图文链接卡片 .链接图片 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .图文链接卡片 .链接信息 {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .图文链接卡片 .链接标题 {
        font-weight: 600;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: var(--dark);
        transition: color 0.2s;
    }

    .图文链接卡片 .图文链接卡片:hover .链接标题 {
        color: var(--primary);
    }

    .图文链接卡片 .链接描述 {
        font-size: 0.9rem;
        color: var(--gray);
        margin-bottom: 1rem;
        flex: 1;
    }

    .图文链接卡片 .链接分类标签 {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        background-color: var(--primary-light);
        color: var(--primary);
        width: fit-content;
    }

    /* 文字友情链接 */
    .文字友情链接 {
        background-color: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .文字链接列表 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .文字链接项 {
        padding: 0.75rem 0;
        border-bottom: 1px dashed var(--border);
        transition: padding-left 0.2s;
    }

    .文字链接项:last-child {
        border-bottom: none;
    }

    .文字链接项:hover {
        padding-left: 8px;
    }

    .文字链接项 .文字链接 {
        color: var(--dark);
        text-decoration: none;
        display: flex;
        align-items: center;
        transition: color 0.2s;
    }

    .文字链接项 .文字链接:hover {
        color: var(--primary);
    }

    .文字链接项 .文字链接 i {
        margin-right: 0.5rem;
        color: var(--primary);
        opacity: 0;
        transition: opacity 0.2s;
    }

    .文字链接项:hover .文字链接 i {
        opacity: 1;
    }

    /* Logo友情链接 */
    .logo友情链接 {
        background-color: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .logo链接网格 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.5rem;
    }

    .logo链接项 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        border-radius: 8px;
        transition: background-color 0.3s, transform 0.3s;
    }

    .logo链接项:hover {
        background-color: var(--primary-light);
        transform: translateY(-3px);
    }

    .logo链接项 .logo容器 {
        width: 80px;
        height: 80px;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo链接项 .logo容器 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s;
    }

    .logo链接项:hover .logo容器 img {
        transform: scale(1.1);
    }

    .logo链接项 .logo链接名称 {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--dark);
        text-align: center;
    }

    /* 申请链接区域 */
    .申请链接区域 {
        background-color: var(--primary-light);
        border-radius: 12px;
        padding: 2.5rem;
        text-align: center;
        margin-top: 2rem;
    }

    .申请链接区域 .申请链接标题 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .申请链接区域 .申请链接描述 {
        color: var(--dark);
        max-width: 600px;
        margin: 0 auto 1.5rem;
    }

    .申请链接区域 .申请链接按钮 {
        display: inline-block;
        padding: 0.75rem 2rem;
        background-color: var(--primary);
        color: white;
        border-radius: 8px;
        font-weight: 500;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .申请链接区域 .申请链接按钮:hover {
        background-color: #0E42D2;
        color: white;
    }

    /* 响应式设计 */
    @media (max-width: 992px) {
        .图文友情链接 {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }

        .logo链接网格 {
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .page-header .page-title {
            font-size: 1.75rem;
        }

        .links-section .section-title {
            font-size: 1.25rem;
        }

        .文字链接列表 {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        }

        .申请链接区域 {
            padding: 1.5rem;
        }
    }

    @media (max-width: 576px) {
        .图文友情链接 {
            grid-template-columns: 1fr;
        }

        .图文链接卡片 {
            flex-direction: column;
        }

        .图文链接卡片 .链接图片 {
            width: 100%;
            height: 160px;
        }

        .logo链接网格 {
            grid-template-columns: repeat(2, 1fr);
        }

        .links-section .section-header {
            flex-direction: column;
            align-items: flex-start;
        }

        .links-section .section-icon {
            margin-bottom: 0.5rem;
        }
    }
</style>


<div class="container main-content">
    <!-- 页面标题 -->
    <div class="page-header">
        <h1 class="page-title">友情链接</h1>
        <p class="page-desc">探索我们的合作伙伴和推荐网站，发现更多优质内容和服务。所有链接均经过审核，确保安全可靠。</p>
    </div>

    <!-- 图文友情链接 -->
    <div class="links-section">
        <div class="section-header">
            <div class="section-icon">
                <i class="fas fa-image"></i>
            </div>
            <h2 class="section-title">图文友情链接</h2>
        </div>

        <div class="图文友情链接">
            <a href="#" class="图文链接卡片 text-decoration-none">
                <div class="链接图片">
                    <img src="https://picsum.photos/300/300?random=1" alt="旅行爱好者社区">
                </div>
                <div class="链接信息">
                    <h3 class="链接标题">旅行爱好者社区</h3>
                    <p class="链接描述">分享全球旅行攻略、景点推荐和旅行体验，让每一次旅行都充满惊喜。</p>
                    <span class="链接分类标签">旅游</span>
                </div>
            </a>

            <a href="#" class="图文链接卡片 text-decoration-none">
                <div class="链接图片">
                    <img src="https://picsum.photos/300/300?random=2" alt="美食分享平台">
                </div>
                <div class="链接信息">
                    <h3 class="链接标题">美食分享平台</h3>
                    <p class="链接描述">发现各地美食，交流烹饪技巧，寻找志同道合的美食爱好者。</p>
                    <span class="链接分类标签">美食</span>
                </div>
            </a>

            <a href="#" class="图文链接卡片 text-decoration-none">
                <div class="链接图片">
                    <img src="https://picsum.photos/300/300?random=3" alt="创意设计社区">
                </div>
                <div class="链接信息">
                    <h3 class="链接标题">创意设计社区</h3>
                    <p class="链接描述">展示设计作品，交流设计理念，汇聚全球创意人才的灵感平台。</p>
                    <span class="链接分类标签">设计</span>
                </div>
            </a>

            <a href="#" class="图文链接卡片 text-decoration-none">
                <div class="链接图片">
                    <img src="https://picsum.photos/300/300?random=4" alt="科技创新博客">
                </div>
                <div class="链接信息">
                    <h3 class="链接标题">科技创新博客</h3>
                    <p class="链接描述">追踪前沿科技动态，解析创新趋势，洞察未来科技发展方向。</p>
                    <span class="链接分类标签">科技</span>
                </div>
            </a>

            <a href="#" class="图文链接卡片 text-decoration-none">
                <div class="链接图片">
                    <img src="https://picsum.photos/300/300?random=5" alt="健康生活指南">
                </div>
                <div class="链接信息">
                    <h3 class="链接标题">健康生活指南</h3>
                    <p class="链接描述">提供科学健康知识，分享运动心得，助你打造健康生活方式。</p>
                    <span class="链接分类标签">健康</span>
                </div>
            </a>

            <a href="#" class="图文链接卡片 text-decoration-none">
                <div class="链接图片">
                    <img src="https://picsum.photos/300/300?random=6" alt="读书爱好者联盟">
                </div>
                <div class="链接信息">
                    <h3 class="链接标题">读书爱好者联盟</h3>
                    <p class="链接描述">推荐优质书籍，分享阅读心得，结交喜欢读书的朋友。</p>
                    <span class="链接分类标签">文化</span>
                </div>
            </a>
        </div>
    </div>

    <!-- 文字友情链接 -->
    <div class="links-section">
        <div class="section-header">
            <div class="section-icon">
                <i class="fas fa-font"></i>
            </div>
            <h2 class="section-title">文字友情链接</h2>
        </div>

        <div class="文字友情链接">
            <div class="文字链接列表">
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        音乐爱好者社区
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        电影评论网
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        摄影技巧分享
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        程序员论坛
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        职场经验交流
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        投资理财指南
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        外语学习平台
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        亲子教育社区
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        宠物爱好者之家
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        园艺种植技巧
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        汽车爱好者论坛
                    </a>
                </div>
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-angle-right"></i>
                        时尚潮流资讯
                    </a>
                </div>
            </div>
        </div>
    </div>

    <!-- Logo友情链接 -->
    <div class="links-section">
        <div class="section-header">
            <div class="section-icon">
                <i class="fas fa-th"></i>
            </div>
            <h2 class="section-title">Logo友情链接</h2>
        </div>

        <div class="logo友情链接">
            <div class="logo链接网格">
                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=10" alt="科技公司">
                    </div>
                    <div class="logo链接名称">科技创新</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=11" alt="设计工作室">
                    </div>
                    <div class="logo链接名称">创意设计</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=12" alt="教育平台">
                    </div>
                    <div class="logo链接名称">在线教育</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=13" alt="媒体公司">
                    </div>
                    <div class="logo链接名称">数字媒体</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=14" alt="电商平台">
                    </div>
                    <div class="logo链接名称">电子商务</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=15" alt="金融服务">
                    </div>
                    <div class="logo链接名称">金融科技</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=16" alt="健康服务">
                    </div>
                    <div class="logo链接名称">健康医疗</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=17" alt="旅游服务">
                    </div>
                    <div class="logo链接名称">旅行服务</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=18" alt="餐饮品牌">
                    </div>
                    <div class="logo链接名称">美食餐饮</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=19" alt="体育品牌">
                    </div>
                    <div class="logo链接名称">体育运动</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=20" alt="艺术机构">
                    </div>
                    <div class="logo链接名称">艺术文化</div>
                </a>

                <a href="#" class="logo链接项 text-decoration-none">
                    <div class="logo容器">
                        <img src="https://picsum.photos/200/200?random=21" alt="环保组织">
                    </div>
                    <div class="logo链接名称">环保公益</div>
                </a>
            </div>
        </div>
    </div>

    <!-- 申请友情链接 -->
    <div class="申请链接区域">
        <h3 class="申请链接标题">申请友情链接</h3>
        <p class="申请链接描述">如果您希望与我们交换友情链接，欢迎提交申请。我们会在24小时内审核并回复，优质网站优先通过。</p>
        <a href="#" class="申请链接按钮">提交链接申请</a>
    </div>
</div>


<script>
	// 为所有链接添加点击事件提示
	document.querySelectorAll('a[href="#"]').forEach(link => {
		link.addEventListener('click', function (e) {
			e.preventDefault();
			const linkText = this.textContent.trim() || this.querySelector('.链接标题')?.textContent || this.querySelector('.logo链接名称')?.textContent;
			alert(`您点击了"${linkText}"的链接，实际应用中会跳转到对应网站`);
		});
	});
</script>


